package com.wiscamp.ninechapters.accounts.application.dto.vo;

import com.wiscamp.ninechapters.ddd.ViewObject;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 账号批次
 */
@Data
public class AccountBatchVO implements ViewObject {
    private static final long serialVersionUID = 1L;

    /**
     * 自动编号
     */
    private long id = 0;

    /**
     * 账户编号
     */
    private long accountId = 0;

    /**
     * 账户类型
     */
    private int accountType = 0;

    /**
     * 用户编号
     */
    private long userId = 0;

    /**
     * 余额
     */
    private BigDecimal balance = new BigDecimal(0);

    /**
     * 批次号
     */
    private String batchNumber = "";

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 变更时间
     */
    private LocalDateTime editTime;
}